//
//  XLAES128.h
//  industry
//
//  Created by xl on 2020/12/2.
//  Copyright © 2020 Haier. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XLAES128 : NSObject

+ (NSString *)encryptStringWithString:(NSString *)string andKey:(NSString *)key;

+ (NSString *)decryptStringWithString:(NSString *)string andKey:(NSString *)key;

+ (NSData *)encryptDataWithData:(NSData *)data Key:(NSString *)key;

+ (NSData *)decryptDataWithData:(NSData *)data andKey:(NSString *)key;

+ (NSString *)md5EncryptWithString:(NSString *)string;

@end

NS_ASSUME_NONNULL_END
